﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Events.Login" %>
<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.0 Transitional//EN">
<html>
	<head>
	    <title>Renewal Form Sign in</title>
		<meta content="JavaScript" name="vs_defaultClientScript" />
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
		<link href="Styles.css" type="text/css" rel="stylesheet" />
	    <style type="text/css">
            .style1
            {
                width: 539px;
            }
        </style>
	</head>
	<body>
	<div style="margin-left:200px">
		<h2>Please Enter your NENA.ca Username and Password</h2>
	</div>
		<form id="Form1" method="post" runat="server">		
		<div style="margin-left:200px">
		    <asp:Login ID="Login1" runat="server" BackColor="#FFFBD6" BorderColor="#FFDFAD" 
                BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
                Font-Size="0.8em" ForeColor="#333333" TextLayout="TextOnTop" Width="557px" OnLoginError="login1_LoginError">
                <TextBoxStyle Font-Size="0.8em" />
                <LoginButtonStyle BackColor="White" BorderColor="#CC9966" BorderStyle="Solid" 
                    BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#990000" />
                <LayoutTemplate>
                    <table border="0" cellpadding="4" cellspacing="0" 
                        style="border-collapse:collapse;">
                        <tr>
                            <td>
                                <table border="0" cellpadding="0">
                                    <tr>
                                        <td align="center" style="color:White;background-color:#990000;font-size:0.9em;font-weight:bold;" class="style1">
                                            Event Registration
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" align="center">
                                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label>
                                            &nbsp;<asp:TextBox ID="UserName" runat="server" Font-Size="0.8em" Width="192px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                                ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                                ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" align="center">
                                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                                            &nbsp;&nbsp;
                                            <asp:TextBox ID="Password" runat="server" Font-Size="0.8em" TextMode="Password" 
                                                Width="188px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                                ControlToValidate="Password" ErrorMessage="Password is required." 
                                                ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td align="center" style="color:Red;" class="style1">
                                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" class="style1">
                                            <asp:Button ID="LoginButton" runat="server" BackColor="White" 
                                                BorderColor="#CC9966" BorderStyle="Solid" BorderWidth="1px" CommandName="Login" 
                                                Font-Names="Verdana" Font-Size="0.8em" ForeColor="#990000" Text="Sign In &gt;&gt;" 
                                                ValidationGroup="Login1" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                            <td>
                                            <a href="http://nena.ca/user/EmailForgottenPassword.aspx">I forgot my password</a> |
                                            Not a member yet? <a href="http://membership.nena.ca">Click here to Join</a>
                                            </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </LayoutTemplate>
                <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                <TitleTextStyle BackColor="#990000" Font-Bold="True" Font-Size="0.9em" 
                    ForeColor="White" />
            </asp:Login>
            </div>
		</form>
	</body>
</html>
